package me.macd.mindoc.model;

import java.util.Date;

public class Documents {
    private Integer documentId;

    private String documentName;

    private String identify;

    private Integer bookId;

    private Integer parentId;

    private Integer orderSort;

    private Date createTime;

    private Integer memberId;

    private Date modifyTime;

    private Integer modifyAt;

    private Long version;

    private Integer isOpen;

    public Documents(Integer documentId, String documentName, String identify, Integer bookId, Integer parentId, Integer orderSort, Date createTime, Integer memberId, Date modifyTime, Integer modifyAt, Long version, Integer isOpen) {
        this.documentId = documentId;
        this.documentName = documentName;
        this.identify = identify;
        this.bookId = bookId;
        this.parentId = parentId;
        this.orderSort = orderSort;
        this.createTime = createTime;
        this.memberId = memberId;
        this.modifyTime = modifyTime;
        this.modifyAt = modifyAt;
        this.version = version;
        this.isOpen = isOpen;
    }

    public Documents() {
        super();
    }

    public Integer getDocumentId() {
        return documentId;
    }

    public void setDocumentId(Integer documentId) {
        this.documentId = documentId;
    }

    public String getDocumentName() {
        return documentName;
    }

    public void setDocumentName(String documentName) {
        this.documentName = documentName == null ? null : documentName.trim();
    }

    public String getIdentify() {
        return identify;
    }

    public void setIdentify(String identify) {
        this.identify = identify == null ? null : identify.trim();
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getOrderSort() {
        return orderSort;
    }

    public void setOrderSort(Integer orderSort) {
        this.orderSort = orderSort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getModifyAt() {
        return modifyAt;
    }

    public void setModifyAt(Integer modifyAt) {
        this.modifyAt = modifyAt;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }
}